<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%-- <%@ include file="validaLogin.jsp"%> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${msg.sistemacarona}</title>
<link rel="stylesheet" type="text/css" href="../css/login.css" />
</head>
<body>
	<f:view locale="#{languageDetails.locale}">
		<div id="header">
			<h2>
				<h:outputText value="#{msg.sistemacarona}" />
			</h2>
		</div>
		<div id="body">
			<h:form id="login">
				<h:panelGrid columns="2">
					<h:outputLabel styleClass="label" value="#{msg.username}"
						for="login" />
					<h:inputText styleClass="camposEntrada" id="login"
						value="#{ControladorUsuario.us.login}" required="false" />

					<h:outputLabel styleClass="label" value="#{msg.senha}" for="senha" />
					<h:inputSecret styleClass="camposEntrada" id="senha"
						value="#{ControladorUsuario.us.senha}" required="false" />
				</h:panelGrid>

				<h:commandButton value="#{msg.button1}"
					action="#{ControladorUsuario.logar}" />
				<h:commandLink action="cadastro" value="#{msg.cadastrese}"></h:commandLink>
				<div>
					<a href="recuperarConta.jsf">${msg.esqueceuSenha}</a>
				</div>
				<p>
					<h:messages styleClass="mensagemIformacao" />
				</p>
			</h:form>
		</div>
	</f:view>
</body>
</html>